//根据中文以及英文分号拆分标签
function splitKeyWord(keyword){
	var keywords = new Array();
	var str=keyword.split(",");
	var keyHref = "";
    for (var i=0;i<str.length ;i++ )   
    {   
    	var str2=str[i].split("，");
    	for (var j=0;j<str2.length ;j++ ){
    		keywords.push(str2[j]);
    	}
    } 
	return keywords;
}

//删除左右两端的空格
function trim(str){
    return str.replace(/(^\s*)|(\s*$)/g, "");
}